package com.wantup.dubbo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * Hello world!
 *
 */
public class ProviderApp
{
    public static void main( String[] args ) throws IOException {
        //System.out.println( "Hello World!" );
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-hello-provider.xml");
        context.start();//创建容器 读取配置文件


        //此方法 会抛异常
        System.in.read();


    }
}
